<template>
	<div class="vhtml">
		<h3>8.v-html指令</h3>
		<div v-html="html"></div>
	</div>
</template>

<script setup>
	const html = '<i>千磨万击还坚劲，任尔东西南北风</i>'
</script>

<style scoped>
	.vhtml {
		font-size: 16px;
		font-weight: bold;
		width: 200px;
		height: 200px;
		border: 1px solid chartreuse;
	}
</style>
